package com.telit.uav.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * @Author:zhangwei
 * @Description:
 * @Time:Created on 2021/9/26 9:32
 */
@Data
public class UavFlyRecordDTO {

    /**
     * 主任务id
     */
    @ApiModelProperty(value = "主任务id")
    private Long taskId;

    /**
     * 飞手id
     */
    @ApiModelProperty(value = "飞手id")
    private Long userId;

    /**
     * 无人机名称
     */
    @ApiModelProperty(value = "无人机名称")
    private String uavName;

    @ApiModelProperty(value = "无人机Code")
    private String uavCode;

    /**
     * 飞行装填
     */
    @ApiModelProperty(value = "飞行状态：")
    private String flyStatus;

    /**
     * 无人机飞手姓名
     */
    @ApiModelProperty(value = "无人机飞手姓名")
    private String uavUserName;

    /**
     * 起飞时间
     */
    @ApiModelProperty(value = "起飞时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date startTime;

    /**
     * 着陆时间
     */
    @ApiModelProperty(value = "着陆时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date endTime;

    /**
     * 飞行时间
     */
    @ApiModelProperty(value = "飞行时间")
    private String flyTime;

    /**
     * 飞行距离
     */
    @ApiModelProperty(value = "飞行距离")
    private String flyDistance;

    /**
     * 最大飞行高度
     */
    @ApiModelProperty(value = "最大飞行高度")
    private String maxHigh;

    /**
     * 巡航面积
     */
    @ApiModelProperty(value = "巡航面积")
    private String flyArea;

    @ApiModelProperty(value = "查询开始时间")
    private String queryStartTime;

    @ApiModelProperty(value = "查询结束时间")
    private String queryEndTime;

}
